home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Applications / PICSee Dust 1.01 / Quaternary Source / DialogUtils.h < prev    next >
Text File  |  1995-11-17  |  2KB  |  44 lines

  1. #ifndef DIALOGUTILS_H_
  2. #define DIALOGUTILS_H_
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. pascal void DrawDefaultBorder(DialogPtr theDialog, short itemNo);
  9. void OutlineDefaultBorder(Rect *border, Boolean useColor, Boolean activate);
  10. void DrawDefaultListBorder(DialogPtr theDialog, short itemNo, Boolean active);
  11. pascal void FrameBorderBlack(DialogPtr theDialog, short itemNo);
  12. pascal void FrameBorderDotted(DialogPtr theDialog, short itemNo);
  13.  
  14. void GetDItemRect(DialogPtr theDialog, short theItem, Rect *theRect);
  15. void SetUserProc(DialogPtr theDialog, short theItem, ProcPtr theProc);
  16.  
  17. Handle GetDItemHdl(DialogPtr theDialog, short theItem);
  18. ControlHandle GetCtlHdl(DialogPtr theDialog, short theItem);
  19. void FlipCtlValue(DialogPtr theDialog, short theItem);
  20. void SetDlogCtlValue(DialogPtr theDialog, short theItem, short theValue);
  21. short GetDlogCtlValue(DialogPtr theDialog, short theItem);
  22. void EnableDlogCtl(DialogPtr theDialog, short theItem);
  23. void DisableDlogCtl(DialogPtr theDialog, short theItem);
  24.  
  25. void PushButtonControl(ControlHandle theControl);
  26. void PushButton(DialogPtr theDialog, short theItem);
  27.  
  28. void SetDItemText(DialogPtr theDialog, short theItem, Str255 iText);
  29. void SetDItemBigText(DialogPtr theDialog, short theItem, Ptr theText, short textLen);
  30. Boolean IsDialogStaticText(DialogPtr theDialog, short theItem);
  31. Boolean IsDialogEditText(DialogPtr theDialog, short theItem);
  32.  
  33. void ChangeDITL(DialogPtr theDialog, short DITLid, short origCount, short *newCount, short eraseItem);
  34.  
  35. void SelectRadioBtn(DialogPtr theDialog, short selectedBtn, short beginRange, short endRange);
  36. short GetRadioBtn(DialogPtr theDialog, short beginRange, short endRange);
  37.  
  38. void DrawDisabledDialog(DialogPtr theDialog, RgnHandle disableRgn);
  39.  
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43.  
  44. #endif    // DIALOGUTILS_H_